package com.htd.erp.product;

import java.io.Serializable;

import javax.enterprise.context.ConversationScoped;
import javax.faces.convert.Converter;
import javax.inject.Named;

import com.htd.erp.model.Color;
import com.htd.erp.web.AbstractEntityConverter;

/**
 * @author Zhang Guilin
 *
 */
@Named
@ConversationScoped
public class ColorConverter extends AbstractEntityConverter<Color> implements Converter, Serializable {
	
	private static final long serialVersionUID = 5310095134693273140L;

	@Override
	protected Class<Color> getEntityClass() {
		return Color.class;
	}
}
